package com.project.bean;

import java.time.LocalDate;

/*班级对象
*
* */
public class ClassBean {
    private Integer id;//班级id
    private String name;//名称
    private LocalDate classDate;//开班时间
    private String teacher;//班主任

    public ClassBean() {
    }

    public ClassBean(Integer id, String name, LocalDate classDate, String teacher) {
        this.id = id;
        this.name = name;
        this.classDate = classDate;
        this.teacher = teacher;
    }

    public ClassBean(String name, LocalDate classDate, String teacher) {
        this.name = name;
        this.classDate = classDate;
        this.teacher = teacher;
    }

    @Override
    public String toString() {
        return "ClassBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", classDate=" + classDate +
                ", teacher='" + teacher + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDate getClassDate() {
        return classDate;
    }

    public void setClassDate(LocalDate classDate) {
        this.classDate = classDate;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }
}
